<?php
// +----------------------------------------------------------------------
// | 控制台配置
// +----------------------------------------------------------------------
$can_command = env('app.can_command', '1');
if(empty($can_command)) return [];
return [
    // 指令定义
    'commands' => [
        'xdata:crontab'            => 'app\data\command\Crontab',
        'xdata:CalculationCommission'            => 'app\data\command\CalculationCommission',//佣金自动结算
        'xdata:ChannelSettleAccounts'        => 'app\data\command\ChannelSettleAccounts',//渠道佣金七号自动结算
        'xdata:FinishOrder'       => 'app\data\command\FinishOrder',//发货15天后自动确认收货
        'xdata:OrderClean' => 'app\data\command\OrderClean',
        'xdata:UpdateChannelStutas' => 'app\data\command\UpdateChannelStutas',//每月月初更改渠道用户结算状态
        'xdata:UpdateDistribution'  => 'app\data\command\UpdateDistribution', //更新所有分销员信息为未执行
        'xdata:DeleteOrder'  => 'app\data\command\DeleteOrder', //删除过期的订单
    ],
];
